package com.earthchen.demo.enums;


public enum ResourceTypeEnum {

    MENU(1, "菜单"),

    ELEMENT(2, "元素"),

    RESOURCE_TYPE(3, "资源分类");


    private Integer code;


    private String name;

    ResourceTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
